package com.hc.sss.pojo;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * advertisement[广告表]
 * @author Administrator
 *
 */
public class Advertisement implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer advId;//广告id

    private String advTitle;//广告标题

    private String advContent;//广告内容

    private String advPicture;//广告图片

    private Integer advStatus;//广告状态(1正常,-1删除)

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date advCreateTime;//创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date advUpdateTime;//更新时间
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date advEndTime;//到期时间

    public Integer getAdvId() {
        return advId;
    }

    public void setAdvId(Integer advId) {
        this.advId = advId;
    }

    public String getAdvTitle() {
        return advTitle;
    }

    public void setAdvTitle(String advTitle) {
        this.advTitle = advTitle == null ? null : advTitle.trim();
    }

    public String getAdvContent() {
        return advContent;
    }

    public void setAdvContent(String advContent) {
        this.advContent = advContent == null ? null : advContent.trim();
    }

    public String getAdvPicture() {
        return advPicture;
    }

    public void setAdvPicture(String advPicture) {
        this.advPicture = advPicture == null ? null : advPicture.trim();
    }

    public Integer getAdvStatus() {
        return advStatus;
    }

    public void setAdvStatus(Integer advStatus) {
        this.advStatus = advStatus;
    }

    public Date getAdvCreateTime() {
        return advCreateTime;
    }

    public void setAdvCreateTime(Date advCreateTime) {
        this.advCreateTime = advCreateTime;
    }

    public Date getAdvUpdateTime() {
        return advUpdateTime;
    }

    public void setAdvUpdateTime(Date advUpdateTime) {
        this.advUpdateTime = advUpdateTime;
    }

	public Date getAdvEndTime() {
		return advEndTime;
	}

	public void setAdvEndTime(Date advEndTime) {
		this.advEndTime = advEndTime;
	}
    
}